PROJECT( SoundMachineGUI )
SET( QT_USE_OPENGL TRUE )
INCLUDE(${QT_USE_FILE})
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR})
SET( SoundMachineGUI_SRC "aboutUSForm.cpp" "main.cpp" "mainForm.cpp" "playListEntry.cpp" )
SET( SoundMachineGUI_UIS "aboutUSForm.ui" "mainForm.ui" )
QT4_WRAP_CPP(SMGUI_MOC_SRCS "aboutUSForm.h" "mainForm.h" "playListEntry.h" )
QT4_WRAP_UI( SoundMachineGUI_UIS_H ${SoundMachineGUI_UIS})
add_executable(SoundMachineGUI ${SoundMachineGUI_SRC} ${SMGUI_MOC_SRCS} ${SoundMachineGUI_UIS_H} ${QT_LIBRARIES} )

TARGET_LINK_LIBRARIES( SoundMachineGUI ${QT_LIBRARIES} pthread dl libSoundMachineSL.a)

ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_DEFINITIONS(-D_REENTRANT)
ADD_DEFINITIONS(-DQT_GUI_LIB)
ADD_DEFINITIONS(-DQT_CORE_LIB)
